/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package BUS;

import DAO.Phong_DAO;
import DTO.Phong_DTO;
import java.sql.SQLException;
import java.util.ArrayList;

/**
 *
 * @author Phung
 */
public class Phong_BUS {
    
    public static String Get_MaPhong() throws SQLException{
        return Phong_DAO.Get_MaPhong();
    }
    public static ArrayList<Phong_DTO> GetALL(){
        return Phong_DAO.GetALL();
    }
    public static boolean Insert(Phong_DTO Phong){
        return Phong_DAO.Insert(Phong);
    }
    public static boolean Update(Phong_DTO Phong){
        return Phong_DAO.Update(Phong);
    }   
    public static boolean Delete(String MaPhong){
        return Phong_DAO.Delete(MaPhong);
    }
}
